<?php

/**
 *  商品表
 */

namespace app\api\model;

use app\admin\model\ProductMergeBuylink;

class ProductMerge extends BaseModel
{

    public function ProductRelation()
    {
        return $this->hasMany(ProductRelation::class, 'pm_id', 'id');
    }

    public function ProductMergeBuylink()
    {
        return $this->hasMany(ProductMergeBuylink::class, 'pm_id', 'id');
    }
}
